package com.kfgj.hkp.enums.house;

import com.kfgj.hkp.common.dic.Dictionary;
import com.kfgj.hkp.common.dic.DictionaryProvider;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description 枚举类
 * @Auth xpp
 * @Date 2019/11/18
 * @Version 1.0
 */
@Component
public class ExpireAcceptType implements DictionaryProvider {
    //到期续租
    public static String Renewal = "Renewal";
    //到期搬迁
    public static String MoveExpire = "MoveExpire";
    //提前搬迁
    public static String MovePre = "MovePre";

    @Override
    public List<Dictionary> produce() {
        List<Dictionary> list = new ArrayList<Dictionary>();
        list.add(new Dictionary(ExpireAcceptType.class.getName(),"ExpireAcceptType","到期选择"));
        list.add(new Dictionary(ExpireAcceptType.class.getName(),Renewal,"到期续租","ExpireAcceptType"));
        list.add(new Dictionary(ExpireAcceptType.class.getName(),MoveExpire,"到期搬迁","ExpireAcceptType"));
        list.add(new Dictionary(ExpireAcceptType.class.getName(),MovePre,"提前搬迁","ExpireAcceptType"));
        return list;
    }

}
